package com.tcat.item.pojo;

import com.tcat.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@ApiModel(description = "订单")
@Table(name="tb_orders")
@Data
public class Orders {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    @Column(name="order_num")
    private String orderNum;

    private Long ordertime;
    @Column(name="consumer")
    private String consumerPhone;
    @Column(name="sku_id")
    private Long skuId;
    @Column(name="pay_type")
    private String payType;
    @Column(name="order_feedback")
    private String orderStatus;





}
